package liecai_class.day06;

public class Demo01 {
    public static void main(String[] args) {
        /*
                A
               /\
              B  G
              /\  \
             C D   H
               /\
               E F
            ABCxxDExxFxxGxHxx
         */
        String [] arr = {"A","B","C",null,null,"D","E",null,null,"F",null,null,"G",null,"H",null,null};
        BTree<String> bTree = new BTree<>(arr);

        int size = bTree.getSize();
        System.out.println(size);

        int depth = bTree.getDepth();
        System.out.println(depth);
    }
}
